About 70% of operations were of the key-value kind, where only a primary key was used and a single row would be returned. About 20% would ... still operate on only a single table.
| |
|
|
|
| |
|
|
|
Avoids any and all anomalies, incl write skew.
SELECT ... FOR UPDATE
findAndModify()
(Durability)
Tn
Tn
from each shardTn
Tn
and Tn+1
must commit in same order on all shardsWhat did we learn today:
MVCC, Snapshot Isolation, Write Skew, Serializeable/SSI, Raft, Lamport, Causal Consistency, Tunable consistency, 2PC.